package com.daocao.sysuser.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.daocao.common.response.DaoCaoResult;
import com.daocao.common.service.IUmsCardStatusService;

/**
 * @date 
 * @date 
 */
@RestController
@RequestMapping("sys/card")
public class CardStatusController {

    @Autowired
    private IUmsCardStatusService cardStatusService;

    @GetMapping("/status")
    public DaoCaoResult searchStatusList() {
        return DaoCaoResult.success(cardStatusService.selectStatusList());
    }
    
}
